package com.prs.crm.domain.cdxh.printing;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2010-12-7 上午09:34:24 简单说明 印刷
 */
@Entity
@Table(name = "cdxh_printingg")
public class Printing extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	
	/**
	 * 产品编号
	 */
	private String printCode;

	/**
	 * 产品名称
	 */

	private String printName;
	/**
	 * 包装方式
	 */
	private String printPackWay;

	/**
	 * 颜色
	 */

	private String printColor;
	/**
	 * 规格
	 */

	private String printNorm;
	/**
	 * 提货时间
	 */
	private Date printTihuoDate;
	/**
	 * 成型单制定时间
	 */
	private String printMakeDate;

	/**
	 * 是否急单
	 */
	private String printRushOrder;

	/**
	 * 订单或者新建计划编号
	 */
	private String printOrderPlan;
	/**
	 * 订单数量
	 */
	@Column(columnDefinition = "Integer(11) default '0'")
	private int orderNum;
	/**
	 * 半成品数量
	 */
	@Column(columnDefinition = "Integer(11) default '0'")
	private int banChengNum;
	/**
	 * 半成品已生产数量
	 */
	@Column(columnDefinition = "Integer(11) default '0'")
	private int banShenyuNum;
	/**
	 * 显示状态 默认是“1”，大于6的话就不显示
	 */
	@Column(columnDefinition = "Integer(11) default '1'")
	private int printShowState;
	/**
	 * 判断是不是第一次
	 * 
	 * @return
	 */
	@Column(columnDefinition = "Integer(11) default '1'")
	private int firstYN;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPrintCode() {
		return printCode;
	}

	public void setPrintCode(String printCode) {
		this.printCode = printCode;
	}

	public String getPrintName() {
		return printName;
	}

	public void setPrintName(String printName) {
		this.printName = printName;
	}

	public String getPrintColor() {
		return printColor;
	}

	public void setPrintColor(String printColor) {
		this.printColor = printColor;
	}

	public String getPrintNorm() {
		return printNorm;
	}

	public void setPrintNorm(String printNorm) {
		this.printNorm = printNorm;
	}

	public Date getPrintTihuoDate() {
		return printTihuoDate;
	}

	public void setPrintTihuoDate(Date printTihuoDate) {
		this.printTihuoDate = printTihuoDate;
	}

	public String getPrintMakeDate() {
		return printMakeDate;
	}

	public void setPrintMakeDate(String printMakeDate) {
		this.printMakeDate = printMakeDate;
	}

	public String getPrintRushOrder() {
		return printRushOrder;
	}

	public void setPrintRushOrder(String printRushOrder) {
		this.printRushOrder = printRushOrder;
	}

	public String getPrintOrderPlan() {
		return printOrderPlan;
	}

	public void setPrintOrderPlan(String printOrderPlan) {
		this.printOrderPlan = printOrderPlan;
	}

	public int getPrintShowState() {
		return printShowState;
	}

	public void setPrintShowState(int printShowState) {
		this.printShowState = printShowState;
	}

	public int getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(int orderNum) {
		this.orderNum = orderNum;
	}

	public int getBanChengNum() {
		return banChengNum;
	}

	public void setBanChengNum(int banChengNum) {
		this.banChengNum = banChengNum;
	}

	public int getBanShenyuNum() {
		return banShenyuNum;
	}

	public void setBanShenyuNum(int banShenyuNum) {
		this.banShenyuNum = banShenyuNum;
	}

	public String getPrintPackWay() {
		return printPackWay;
	}

	public void setPrintPackWay(String printPackWay) {
		this.printPackWay = printPackWay;
	}

	public int getFirstYN() {
		return firstYN;
	}

	public void setFirstYN(int firstYN) {
		this.firstYN = firstYN;
	}

}
